package com.copm.ifm.servers.sys.client;

import com.copm.ifm.base.api.ServiceResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zzf
 * @date 2020/7/28 15:50
 */

@FeignClient(value = "sys", contextId = "loginClient")
public interface LoginClient {

    @PostMapping("/login")
    ServiceResponse<String> login(@RequestParam String username, @RequestParam String password);

}
